# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=slowloris
pkgver=0.7
pkgrel=11
pkgdesc='A tool which is written in perl to test http-server vulnerabilities for connection exhaustion denial of service (DoS) attacks so you can enhance the security of your webserver.'
groups=('blackarch' 'blackarch-dos')
arch=('any')
url='http://ha.ckers.org/slowloris/'
depends=('perl' 'perl-io-socket-ssl')
license=('custom:unknown')
source=("https://raw.githubusercontent.com/safesonic/slowloris.pl/master/$pkgname.pl")
#source=("$pkgname::https://raw.githubusercontent.com/llaera/slowloris.pl/master/slowloris.pl")
sha512sums=('0792774fdf7dffc72d3bbc69af1a5a145b190740589defffebb9422a0741760608d692c83f71a765bda25d12529e481ab4c3db86817f07a0e66c3c5432337862')

package() {
  install -Dm 755 "$pkgname.pl" "$pkgdir/usr/bin/$pkgname"
}

